#include "login.h"
//#include "register.h"
#include "mainwindow.h"

#include <QApplication>

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);

    //登录界面
    Login log;
    log.show();

    //qDebug()<<"程序运行结束";
    // User user;
    // user.setUsername("user_001");
    // QString friendname="user_002";
    // QTcpSocket *socket;
    // MainWindow w(user,socket,friendname);
    // w.show();
    return a.exec();
}
